import React, { PureComponent } from 'react'
import ThemeContext from '../context/theme_context'

export default class Product extends PureComponent {
  render() {
    return (
      <ThemeContext.Consumer>
        {
          (value) => {
            return <div style={{ color: value.color, fontSize: value.size}}>Product</div>
          }
        }
      </ThemeContext.Consumer>
    )
  }
}
